{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="ibox-title">
        <h5>商城统计</h5>
    </div>
    <div class="ibox-content layui-form">
        <div class="layui-row layui-col-space10 layui-form-item ">
            <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                <label class="layui-form-label">盈利：</label>
                <div class="layui-input-block">
                    <input type="text" value="{$info['ylgold']} 喵币  +  {$info['yl']} RMB" lay-verify="" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                <label class="layui-form-label">有效订单：</label>
                <div class="layui-input-block">
                    <input type="text"  value="{$info['yxdd']}" lay-verify="" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                <label class="layui-form-label">总订单量：</label>
                <div class="layui-input-block">
                    <input type="text"  value="{$info['zdd']}"  lay-verify="" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                <label class="layui-form-label">待处理订单：</label>
                <div class="layui-input-block">
                    <input type="text"  value="{$info['sh']}"  lay-verify="" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                <label class="layui-form-label">待发货订单：</label>
                <div class="layui-input-block">
                    <input type="text"  value="{$info['dfh']}"  lay-verify="" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                <label class="layui-form-label">今日新增订单：</label>
                <div class="layui-input-block">
                    <input type="text" value="{$info['jrxz']}"  lay-verify="" class="layui-input">
                </div>
            </div>
            <!--<div class="layui-form-item layui-col-md-offset1 layui-col-md8">-->
            <!--<div class="layui-input-block">-->
            <!--<button class="layui-btn" lay-submit="" lay-filter="component-form-element">保存-->
            <!--</button>-->
            <!--&lt;!&ndash;<button class="layui-btn layui-btn-primary" onclick="history.go(-1)">返回</button>&ndash;&gt;-->
            <!--</div>-->
            <!--</div>-->
        </div>
    </div>
</div>

{include file="public/footer" /}
<script>
    layui.use(['form'], function() {
        var form = layui.form;
        form.on('submit(component-form-element)', function (data) {
            $('.layui-btn').addClass('layui-disabled').attr('disabled','disabled');
            $.ajax({
                url:"{:url('defaultPostage')}",
                type:'post',
                dataType:'json',
                data:data.field,
                success:function(res){
                    if (res.code == 200) {
                        wk.success(res.msg,"{:url('Signconfig/defaultPostage')}")
                    } else {
                        wk.error(res.msg,'','$(".layui-btn").removeClass(\'layui-disabled\').removeAttr(\'disabled\')');
                    }
                }
            })
        });
    });
</script>
</body>
</html>